/*
 * @Author: 六弦(melodyWxy)
 * @Date: 2022-03-03 17:03:28
 * @LastEditors: 六弦(melodyWxy)
 * @LastEditTime: 2022-03-03 21:35:26
 * @FilePath: /express-server/Users/wxy/codeWorks/up/vite-up/vite-project/src/store/FilterList/index.ts
 * @Description: update here
 */
export default {
    state: {
      tabelDataSource: []
    },
    mutations: {
        updateTabelData(state: Record<any,any>, payload:Record<any, any>) {
          console.log('payload', payload)
          state['filterList'].tabelDataSource = payload.dataSource;
        }
    },
    actions: {
      updateTabelData (context: any, payload: any) {
        context.commit('updateTabelData', payload)
      }
    }
}